package com.fh.mapper;

import com.fh.model.TOrderinfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TOrderinfoMapper {
    int deleteByPrimaryKey(Long toiId);

    int insert(TOrderinfo record);

    int insertSelective(TOrderinfo record);

    TOrderinfo selectByPrimaryKey(Long toiId);

    int updateByPrimaryKeySelective(TOrderinfo record);

    int updateByPrimaryKey(TOrderinfo record);

    void addOrderInfoService(List<TOrderinfo> orderinfoList);

    List<TOrderinfo> queryProductByOrderId(Long orderId);
}
